\documentclass[a4paper,11pt]{article}

\usepackage[top=2cm, bottom=1.5cm, left=2.5cm, right=1.5cm]{geometry}

 \newcommand{\materiaP}{Algoritmos y estructuras de datos III} 
 \newcommand{\tituloTP}{Trabajo Pr\'actico Nro. 1} 
 \newcommand{\subTituloTP}{\emph{}}
 \newcommand{\cuatTITULO}{Primer Cuatrimestre de 2011}
 \newcommand{\cuatHEADER}{1C 2011}


%%%%%%%%%%%%%%%%%%%% Paquetes
\usepackage[latin1]{inputenc}
\usepackage[spanish,activeacute]{babel}
\hyphenrules{nohyphenation} %para que no me parta las palabras
\usepackage{caratula}
\usepackage{fancyhdr}
\usepackage{algorithm}
\usepackage{algpseudocode}
%\usepackage{lastpage}
\usepackage{graphicx}


\cfoot{\thepage{} de \pageref{LastPage}}
\fancyhead{}

\def\fd{\ $\leftarrow$\ }
\def\t{\hspace*{4ex}}
\def\g{\hspace*{3ex}}
\def\n{\hspace*{-2ex}}
\def\np{\smallskip}
\def\C{$\mathcal{C}$}
\def\O{$\mathcal{O}$}
\def\N{$\mathcal{N}$}
\def\R{$\mathcal{R}$}
 


\newcommand{\erf}{\hbox{erf}}
\newcommand{\naturales}{\hbox{\bf N}}
\newcommand{\reales}{\hbox{\bf R}}

 \materia{\materiaP}
 \submateria{\cuatTITULO}
 \titulo{\tituloTP}
 \subtitulo{\subTituloTP}
 \integrante{xx xx}{123/11}{aa@dc.uba.ar} 


\begin{document}
\maketitle

 \setcounter{page}{1}%que el contador empiece de uno con la primer pagina, no con la caratula

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% Para cambiar el paquete pseudocode
 \algrenewcommand\algorithmicif{\textbf{si}}
 \algrenewcommand\algorithmicthen{\textbf{entonces}}
 \algrenewcommand\algorithmicfor{\textbf{para}}
 \algrenewcommand\algorithmicwhile{\textbf{mientras}}
 \algrenewcommand\algorithmicelse{\textbf{si no}}
%%%%%%%%%%%%%%%%%% 

 \begin{abstract}
abstract del paper.\\

\end{abstract}

\newpage

\tableofcontents
%\listoffigures
%\listoftables

\newpage

%%%%%%%%%%%% Empieza el tole toleeeeeeeeeeeeeeeeeeeeeee %%%%%%%%%%%%%%%%%

\section{Introducci'on}
	\input{secciones/intro}	
	\section{Problema 1}
	\input{secciones/ej1}
\section{Problema 2}
	\input{secciones/ej2}
\section{Problema 3}
	\input{secciones/ej3}

\end{document}
